/**
 * 插件
 * */
// import './toggleTip.js';
import './filter';
import './properties';

import ZkTable from 'vue-table-with-tree-grid'
require('@riophae/vue-treeselect/dist/vue-treeselect.css')

import VideoPlayer from 'vue-video-player'
// 第一个是videoJs的样式，后一个是vue-video-player的样式，因为考虑到我其他业务组件可能也会用到视频播放，所以就放在了main.js内
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')

import Container from '@/components/Container'
import Loader from '@/components/Loader'
import Suggestion from '@/components/Suggestion'
import vueImgPreview from '@/components/ImgPreview' // 图片预览组件

Vue.use(ZkTable)
Vue.use(VideoPlayer)
Vue.use(require('vue-moment'))

Vue.component(Suggestion.name, Suggestion)
Vue.component(Container.name, Container)
Vue.component(Loader.name, Loader)
Vue.use(vueImgPreview)